#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <time.h>

#define ROW 10
#define COL 10
#define ROWS ROW+2
#define COLS COL+2

void Initboard(char board[ROWS][COLS], int rows, int cols);
void Show(char board[ROWS][COLS], int row, int col,int player);
void Putship(char board[ROWS][COLS], int row, int col,int rows ,int cols,int plyer);
void Shop(int num[5],int player);
void Showmap(char board1[ROWS][COLS], char board2[ROWS][COLS], int row, int col);
int Guess(char board11[ROWS][COLS], char board12[ROWS][COLS], char board21[ROWS][COLS], char board22[ROWS][COLS], int row, int col,int player,int num[6]);
int Judgewin(char board21[ROW][COL],int row, int col);